package com.kaibes.platform.menu.admin;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.kaibes.web.admin.AdminMenu;
import com.kaibes.web.admin.AdminMenuRes;

@Configuration
public class MenuMenuInit {

    @Bean
    public AdminMenu menuManageMenu() {
        AdminMenu menu = new AdminMenu();
        menu.setName("菜单设置");
        menu.setIcon("fas fa-bars");
        menu.setHref("/admin/menu/setting");
        menu.setSort(-1);
        menu.setKey("menu-manage");
        menu.setParentKey(AdminMenuRes.MENU_SETTING);
        return menu;
    }
    
}
